<?php 
header("Content-type: text/html; charset=utf-8"); 

$id = $_GET['id'];      //接收删除下标

$db = glob('./Images/*');    //读取数据库

$res = unlink($db[$id]);

header("Location:./index.php");   //返回首页
 









 ?>